package part21_建造者模式_建房项目.p01_升级;

/**
 * @ClassName: HouseBuilder
 * @Author: AllenSun
 * @Date: 2020/3/9 23:18
 */
public abstract class HouseBuilder {
    protected House house=new House();

    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWalls();
    //封顶
    public abstract void roofed();

    //建造好房子，把房子返回
    public House buildHouse(){
        return house;
    }
}
